package project.project_015;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

@SuppressWarnings("all")
public class Test {
	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("project/project_015/applicationContext.xml");
		Staff staff = (Staff) context.getBean("staff");
		System.out.println(staff);
		Manager manager = (Manager) context.getBean("manager");
		System.out.println(manager);
	}

}
